<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class AdminPermissionsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('admin_permissions')->delete();
        
        \DB::table('admin_permissions')->insert(array (
            0 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '',
                'id' => 1,
                'name' => 'Auth management',
                'order' => 1,
                'parent_id' => 0,
                'slug' => 'auth-management',
                'updated_at' => NULL,
            ),
            1 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '/auth/users*',
                'id' => 2,
                'name' => 'Users',
                'order' => 2,
                'parent_id' => 1,
                'slug' => 'users',
                'updated_at' => NULL,
            ),
            2 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '/auth/roles*',
                'id' => 3,
                'name' => 'Roles',
                'order' => 3,
                'parent_id' => 1,
                'slug' => 'roles',
                'updated_at' => NULL,
            ),
            3 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '/auth/permissions*',
                'id' => 4,
                'name' => 'Permissions',
                'order' => 4,
                'parent_id' => 1,
                'slug' => 'permissions',
                'updated_at' => NULL,
            ),
            4 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '/auth/menu*',
                'id' => 5,
                'name' => 'Menu',
                'order' => 5,
                'parent_id' => 1,
                'slug' => 'menu',
                'updated_at' => NULL,
            ),
            5 => 
            array (
                'created_at' => '2022-12-14 03:57:37',
                'http_method' => '',
                'http_path' => '/auth/extensions*',
                'id' => 6,
                'name' => 'Extension',
                'order' => 6,
                'parent_id' => 1,
                'slug' => 'extension',
                'updated_at' => NULL,
            ),
            6 => 
            array (
                'created_at' => '2022-12-23 09:25:38',
                'http_method' => '',
                'http_path' => '',
                'id' => 7,
                'name' => '线索相关',
                'order' => 9,
                'parent_id' => 0,
                'slug' => 'clues',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            7 => 
            array (
                'created_at' => '2022-12-23 09:26:56',
                'http_method' => 'GET',
                'http_path' => '/clues',
                'id' => 8,
                'name' => '查看全部线索',
                'order' => 10,
                'parent_id' => 7,
                'slug' => 'clues.check_all',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            8 => 
            array (
                'created_at' => '2022-12-23 09:27:36',
                'http_method' => 'GET',
                'http_path' => '/clues/user',
                'id' => 9,
                'name' => '查看我的线索',
                'order' => 11,
                'parent_id' => 7,
                'slug' => 'clues.check_me',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            9 => 
            array (
                'created_at' => '2022-12-23 09:28:12',
                'http_method' => 'POST,PUT',
                'http_path' => '/clues*',
                'id' => 10,
                'name' => '分配线索',
                'order' => 12,
                'parent_id' => 7,
                'slug' => 'clues.dispatch',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            10 => 
            array (
                'created_at' => '2022-12-23 09:29:05',
                'http_method' => '',
                'http_path' => '',
                'id' => 11,
                'name' => '分组相关',
                'order' => 16,
                'parent_id' => 0,
                'slug' => 'group',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            11 => 
            array (
                'created_at' => '2022-12-23 09:29:59',
                'http_method' => 'GET',
                'http_path' => '/user_group',
                'id' => 12,
                'name' => '查看分组',
                'order' => 17,
                'parent_id' => 11,
                'slug' => 'group.check',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            12 => 
            array (
                'created_at' => '2022-12-23 09:30:50',
                'http_method' => 'GET,POST,PUT',
                'http_path' => '/user_group*',
                'id' => 13,
            'name' => '操作分组(新建修改删除等)',
                'order' => 18,
                'parent_id' => 11,
                'slug' => 'group.actions',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            13 => 
            array (
                'created_at' => '2022-12-23 10:28:25',
                'http_method' => 'GET,POST,PUT',
                'http_path' => '/auth/switch-online,/auth/last-clue,/api*',
                'id' => 14,
                'name' => '切换登录状态',
                'order' => 7,
                'parent_id' => 1,
                'slug' => 'switch_online',
                'updated_at' => '2023-01-04 16:01:57',
            ),
            14 => 
            array (
                'created_at' => '2022-12-23 11:01:14',
                'http_method' => 'POST,PUT',
                'http_path' => '/clues*',
                'id' => 15,
                'name' => '添加线索备注',
                'order' => 13,
                'parent_id' => 7,
                'slug' => 'clues.add_remark',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            15 => 
            array (
                'created_at' => '2022-12-26 11:45:46',
                'http_method' => 'GET',
                'http_path' => '/clues*',
                'id' => 16,
                'name' => '导出线索',
                'order' => 14,
                'parent_id' => 7,
                'slug' => 'clue.export',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            16 => 
            array (
                'created_at' => '2022-12-26 17:34:30',
                'http_method' => 'GET',
                'http_path' => '/clues*',
                'id' => 17,
            'name' => '主管/组长权限(查看组员的线索)',
                'order' => 15,
                'parent_id' => 7,
                'slug' => 'clue.group_leader',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            17 => 
            array (
                'created_at' => '2023-01-04 15:59:26',
                'http_method' => '',
                'http_path' => '',
                'id' => 18,
                'name' => '系统设置相关',
                'order' => 19,
                'parent_id' => 0,
                'slug' => 'setting',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            18 => 
            array (
                'created_at' => '2023-01-04 16:00:53',
                'http_method' => 'GET',
                'http_path' => '/auth/system_setting*',
                'id' => 19,
                'name' => '查看基础设置',
                'order' => 20,
                'parent_id' => 18,
                'slug' => 'setting.index',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            19 => 
            array (
                'created_at' => '2023-01-04 16:01:34',
                'http_method' => 'POST,PUT',
                'http_path' => '/auth/system_setting*',
                'id' => 20,
                'name' => '修改系统设置',
                'order' => 21,
                'parent_id' => 18,
                'slug' => 'setting.change',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            20 => 
            array (
                'created_at' => '2023-01-04 16:01:50',
                'http_method' => '',
                'http_path' => '',
                'id' => 21,
                'name' => '查看CRM配置',
                'order' => 22,
                'parent_id' => 18,
                'slug' => 'setting.crm',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            21 => 
            array (
                'created_at' => '2023-01-04 16:02:30',
                'http_method' => '',
                'http_path' => '',
                'id' => 22,
                'name' => '员工相关',
                'order' => 23,
                'parent_id' => 0,
                'slug' => 'user',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            22 => 
            array (
                'created_at' => '2023-01-04 16:03:10',
                'http_method' => 'GET',
                'http_path' => '/auth/grid_of_user*',
                'id' => 23,
                'name' => '查看员工管理',
                'order' => 24,
                'parent_id' => 22,
                'slug' => 'user.index',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            23 => 
            array (
                'created_at' => '2023-01-04 16:04:13',
                'http_method' => 'GET,POST,PUT',
                'http_path' => '/auth/users*',
                'id' => 24,
                'name' => '创建员工',
                'order' => 25,
                'parent_id' => 22,
                'slug' => 'user.create',
                'updated_at' => '2023-01-04 18:27:22',
            ),
            24 => 
            array (
                'created_at' => '2023-01-04 16:25:31',
                'http_method' => '',
                'http_path' => '/dispatch_rules*',
                'id' => 25,
                'name' => '分配规则管理',
                'order' => 8,
                'parent_id' => 1,
                'slug' => 'dispatch_rules',
                'updated_at' => '2023-01-04 16:25:49',
            ),
            25 => 
            array (
                'created_at' => '2023-01-04 16:26:10',
                'http_method' => '',
                'http_path' => '/departments*',
                'id' => 26,
                'name' => '部门管理',
                'order' => 26,
                'parent_id' => 1,
                'slug' => 'department',
                'updated_at' => '2023-01-04 16:26:10',
            ),
            26 => 
            array (
                'created_at' => '2023-01-04 16:28:45',
                'http_method' => '',
                'http_path' => '/projects*',
                'id' => 27,
                'name' => '建档类型管理',
                'order' => 27,
                'parent_id' => 0,
                'slug' => 'projects',
                'updated_at' => '2023-01-04 16:28:45',
            ),
            27 => 
            array (
                'created_at' => '2023-01-04 16:29:05',
                'http_method' => '',
                'http_path' => '/medium*,/api/media_list*',
                'id' => 28,
                'name' => '媒介管理',
                'order' => 28,
                'parent_id' => 0,
                'slug' => 'media',
                'updated_at' => '2023-01-09 11:36:12',
            ),
            28 => 
            array (
                'created_at' => '2023-01-04 18:38:48',
                'http_method' => '',
                'http_path' => '/extension/grid-sort*',
                'id' => 29,
                'name' => '排序用户',
                'order' => 29,
                'parent_id' => 22,
                'slug' => 'user.sortable',
                'updated_at' => '2023-01-04 18:38:48',
            ),
            29 => 
            array (
                'created_at' => '2023-02-02 14:35:01',
                'http_method' => '',
                'http_path' => '/api/city*,/api/area*',
                'id' => 30,
                'name' => '建档权限',
                'order' => 30,
                'parent_id' => 1,
                'slug' => 'archive',
                'updated_at' => '2023-02-02 14:35:01',
            ),
            30 => 
            array (
                'created_at' => '2023-02-18 15:41:41',
                'http_method' => '',
                'http_path' => '/auth/archive_setting*',
                'id' => 31,
                'name' => '建档配置',
                'order' => 31,
                'parent_id' => 18,
                'slug' => 'archive-setting',
                'updated_at' => '2023-02-18 15:41:41',
            ),
            31 => 
            array (
                'created_at' => '2023-04-10 16:20:45',
                'http_method' => '',
                'http_path' => '',
                'id' => 32,
                'name' => '上传线索表单',
                'order' => 32,
                'parent_id' => 7,
                'slug' => 'clue.import',
                'updated_at' => '2023-04-10 16:20:45',
            ),
            32 => 
            array (
                'created_at' => '2023-04-10 16:21:27',
                'http_method' => '',
                'http_path' => '/media_sources*',
                'id' => 33,
                'name' => '来源管理',
                'order' => 33,
                'parent_id' => 0,
                'slug' => 'media_source.manager',
                'updated_at' => '2023-04-10 16:21:27',
            ),
            33 => 
            array (
                'created_at' => '2023-05-18 15:37:49',
                'http_method' => '',
                'http_path' => '/tags*',
                'id' => 34,
                'name' => '标签管理权限',
                'order' => 34,
                'parent_id' => 0,
                'slug' => 'tag-manager',
                'updated_at' => '2023-05-18 15:37:49',
            ),
            34 => 
            array (
                'created_at' => '2023-05-18 17:42:39',
                'http_method' => '',
                'http_path' => '',
                'id' => 35,
                'name' => '留言板权限',
                'order' => 35,
                'parent_id' => 1,
                'slug' => 'note-manager',
                'updated_at' => '2023-05-18 17:42:39',
            ),
            35 => 
            array (
                'created_at' => '2023-06-08 17:53:25',
                'http_method' => '',
                'http_path' => '',
                'id' => 36,
                'name' => '线索附件管理',
                'order' => 36,
                'parent_id' => 7,
                'slug' => 'clues.file_manager',
                'updated_at' => '2023-06-08 17:53:25',
            ),
        ));
        
        
    }
}